package cn.com.yx.ms.persistence;

import cn.com.yx.ms.domain.dbmodel.DevChannelNo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DevChannelNoMapper {
    int deleteByPrimaryKey(String guid);

    int insert(DevChannelNo record);

    int insertSelective(DevChannelNo record);

    DevChannelNo selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(DevChannelNo record);

    int updateByPrimaryKey(DevChannelNo record);

    int deleteChannelByDevsn(@Param("devsn") String devsn);

    List<DevChannelNo> findAll();

    List<DevChannelNo> findByDevsn(@Param("devsn") String devsn);

    int updateChannelNo(@Param("devsn")String devsn,
                        @Param("channelno")String channelno,
                        @Param("status")String status,
                        @Param("start")String start,
                        @Param("end")String end);
}